<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script>
    function aaa(a,b,c) {
      console.log(a,b,c);
      var str = "Apples are round, and apples are juicy.11";
      var newstr = str.replace(/\d+$/i, "");
      console.log(newstr);
    }

    function Dog() {

    }
    let dog=new Dog()
    aaa.call(null,1,2,3)

  </script>
</head>
<body>
<select onchange="aaa(this)">
  <option value="1">11</option>
  <option value="2">22</option>
  <option value="3">33</option>
</select>
</body>
</html>